#!/usr/bin/env python
# -*- coding:utf-- -*-
# __author__ = "liangpp"
# Date: 2023/1/3


from django.urls import path
from k8sManage.views import index, login, logout, ns_api, editor, export_res_yaml, apply_yaml, node_resource_api

urlpatterns = [
    path('index/', index, name="index"),
    path('login/', login, name="login"),
    path('logout/', logout, name="logout"),
    path('ns_api/', ns_api, name="ns_api"),  # namespace选择框数据获取
    path('editor/', editor, name="editor"),
    path('export_res_yaml/', export_res_yaml, name="export_res_yaml"),  # yaml导出
    path('apply_yaml/', apply_yaml, name="apply_yaml"),  # 编辑yaml并apply
    path('node_resource_api/', node_resource_api, name="node_resource_api"),  # 仪表盘 计算表资源
]